package com.example.myapplication.bean;

import java.util.List;

public class ClassMateListBean {


    /**
     * msg : 成功
     * data : {"id":2,"name":"lfm","password":"123","email":"sq222@163.com","telephone":"15356788365","department":"信息学院","major":"移动应用开发","role":"学生"}
     * success : true
     */

    private String msg;
    List<DataDTO> data;
    private boolean success;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataDTO> getData() {
        return data;
    }

    public void setData(List<DataDTO> data) {
        this.data = data;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public static class DataDTO {
        /**
         * id : 2
         * name : lfm
         * password : 123
         * email : sq222@163.com
         * telephone : 15356788365
         * department : 信息学院
         * major : 移动应用开发
         * role : 学生
         */

        private int id;
        private String name;
        private String password;
        private String email;
        private String telephone;
        private String department;
        private String major;
        private String role;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPassword() {
            return password;
        }

        public void setPassword(String password) {
            this.password = password;
        }

        public String getEmail() {
            return email;
        }

        public void setEmail(String email) {
            this.email = email;
        }

        public String getTelephone() {
            return telephone;
        }

        public void setTelephone(String telephone) {
            this.telephone = telephone;
        }

        public String getDepartment() {
            return department;
        }

        public void setDepartment(String department) {
            this.department = department;
        }

        public String getMajor() {
            return major;
        }

        public void setMajor(String major) {
            this.major = major;
        }

        public String getRole() {
            return role;
        }

        public void setRole(String role) {
            this.role = role;
        }

    }
}
